<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="Common:cssjs" />
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> 
  <a <eq name="ACTION_NAME" value="index">class="on"</eq> href="{:U("Config/index")}"><em>站点配置</em></a><span>|</span>
    <!--<a <eq name="ACTION_NAME" value="sys">class="on"</eq> href="{:U("Config/sys")}"><em>系统参数</em></a><span>|</span>
    <a <eq name="ACTION_NAME" value="mail">class="on"</eq> href="{:U("Config/mail")}"><em>邮箱配置</em></a><span>|</span>-->
    <a <eq name="ACTION_NAME" value="attach">class="on"</eq> href="{:U("Config/attach")}"><em>附件配置</em></a>
</div>
<div class="pad_10">
    <form method='post'   id="myform" name="form1"  action="{:U("Config/dosite")}">
      <table cellpadding=0 cellspacing=0 width="100%" class="table_form" >
      
       <tr>
	     <th width="140">站点名称:</th>
	     <td><input type="text" class="input-text"  name="sitename" value="{$Site.sitename}" size="40"></td>
      </tr>
      <tr>
	     <th width="140">网站地址:</th>
	     <td><input type="text" class="input-text"  name="siteurl" value="{$Site.siteurl}" size="40">请以“/”结尾</td>
      </tr>
      <tr>
	     <th width="140">附件地址:</th>
	     <td><input type="text" class="input-text"  name="sitefileurl" value="{$Site.sitefileurl}" size="40"></td>
      </tr>
      <tr>
	     <th width="140">网站关键字:</th>
	     <td><input type="text" class="input-text"  name="sitekeywords" value="{$Site.sitekeywords}" size="40"> </td>
      </tr>
      <tr>
	     <th width="140">网站简介:</th>
	     <td><textarea name="siteinfo" style="width:380px; height:150px;">{$Site.siteinfo}</textarea> </td>
      </tr>
      <tr>
	     <th width="140">是否生成首页:</th>
	     <td><select name="generate" id="generate">
            <option value="1" <if condition="$Site['generate'] eq '1' "> selected</if>>生成静态</option>
            <option value="0" <if condition="$Site['generate'] eq '0' "> selected</if>>不生成静态</option>
          </select></td>
      </tr>
      <tr>
	     <th width="140">首页模板:</th>
	     <td><select name="indextp" id="indextp">
            <volist name="indextp" id="vo">
            <option value="{$vo}" <if condition="$Site['indextp'] eq $vo"> selected</if>>{$vo}</option>
            </volist>
          </select>
	     新增模板以index_x.html形式</td>
      </tr>
      <tr>
	     <th width="140">首页文件扩展名:</th>
	     <td><input type="text" class="input-text"  name="siteindextype" value="{$Site.siteindextype}" size="40"><select name="select" onchange="document.form1.siteindextype.value=this.value">
              <option value=".html">扩展名</option>
              <option value=".html">.html</option>
              <option value=".htm">.htm</option>
              <option value=".shtml">.shtml</option>
            </select> </td>
      </tr>
      <tr>
	     <th width="140">TagURL规则:</th>
	     <td><?php echo Form::select($TagURL, $Site['tagurl'], 'name="tagurl" id="tagurl"', 'TagURL规则选择');?></td>
      </tr>
      </table>
      <div class="btn">
        <INPUT TYPE="submit"  value="保存" class="button" >
        <input TYPE="reset"  value="重置" class="button">
      </div>
    </form>
</div>
</body>
</html>